package com.fwj.authorization.staff.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.fwj.authorization.staff.entity.SysButton;
import org.apache.ibatis.annotations.Param;

/**
 * SysButtonMapper
 *
 * @author 樊温军
 * @date 2025/3/22 下午4:43
 */
public interface SysButtonMapper extends BaseMapper<SysButton> {

    /**
     * 按钮—分页
     *
     * @param page      分页对象
     * @param sysButton 查询条件
     * @return IPage<SysButton>
     */
    IPage<SysButton> getPage(Page<SysButton> page, @Param("map") SysButton sysButton);
}
